package com.ruoyi.web.domain.mes;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 物料领用对象 mes_material_use
 * 
 * @author levicash
 * @date 2024-01-29
 */
@Data
public class MesMaterialUse extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 物料领用 */
    private Long id;

    /** 领用单编码 */
    @Excel(name = "领用单编码")
    private String code;

    /** 出库时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "出库时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date outDate;

    /** 领用机台id */
    @Excel(name = "领用机台id")
    private String machineId;

    /** 领用部门id */
    @Excel(name = "领用部门id")
    private Long deptId;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    /** 物料领用明细信息 */
    private List<MesMaterialUsedetail> mesMaterialUsedetailList;

    /** 设备名称 */
    private String machineName;
    /** 车间名称 */
    private String workshopName;
    /** 部门名称 */
    private String deptName;


}
